package com.deep.flink;

/**
 * @author sw
 * @create 2023-06-30 11:22
 */
public class Event {
    private String username;
    private String url;
    private Long timestamp;
    private Integer age;

    public Event() {
    }


    public Event(String username, String url, Long timestamp, Integer age) {
        this.username = username;
        this.url = url;
        this.timestamp = timestamp;
        this.age = age;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Event{" +
                "username='" + username + '\'' +
                ", url='" + url + '\'' +
                ", timestamp=" + timestamp +
                ", age=" + age +
                '}';
    }
}
